package com.orange.observerPatterns;

public class MyObserverImpl implements MyObserver{
    @Override
    public void update(String message) {
        System.out.println("被观察的对象发生了变化，消息内容是："+message);
    }
}
